#!/usr/bin/env python3
for i in range(0,2**5,1):
    u = ""
    t = bin(i)[2::]
    if len(t)<5:
        for x in range(0,5-len(t),1):
            u = u + "0"
        t = u + t
        u = ""
    print(t,"\t",i)